package com.eic.framework.core.util;

import java.lang.reflect.Field;

/**
 * 表字段信息
 */
public class TableFieldMeta{
    private Field primaryField;
    private Field insertTimeField;
    private Field insertUserField;
    private Field updateTimeField;
    private Field updateUserField;
    private Field deleteLogicField;
    private String primaryFieldName;
    private String updateTimeFieldName;
    private String updateUserFieldName;
    private String logicDelFieldName;

    public Field getPrimaryField() {
        return primaryField;
    }

    public TableFieldMeta setPrimaryField(Field primaryField) {
        this.primaryField = primaryField;
        return this;
    }

    public Field getInsertTimeField() {
        return insertTimeField;
    }

    public TableFieldMeta setInsertTimeField(Field insertTimeField) {
        this.insertTimeField = insertTimeField;
        return this;
    }

    public Field getInsertUserField() {
        return insertUserField;
    }

    public TableFieldMeta setInsertUserField(Field insertUserField) {
        this.insertUserField = insertUserField;
        return this;
    }

    public Field getUpdateTimeField() {
        return updateTimeField;
    }

    public TableFieldMeta setUpdateTimeField(Field updateTimeField) {
        this.updateTimeField = updateTimeField;
        return this;
    }

    public Field getUpdateUserField() {
        return updateUserField;
    }

    public TableFieldMeta setUpdateUserField(Field updateUserField) {
        this.updateUserField = updateUserField;
        return this;
    }

    public Field getDeleteLogicField() {
        return deleteLogicField;
    }

    public TableFieldMeta setDeleteLogicField(Field deleteLogicField) {
        this.deleteLogicField = deleteLogicField;
        return this;
    }

    public String getPrimaryFieldName() {
        return primaryFieldName;
    }

    public TableFieldMeta setPrimaryFieldName(String primaryFieldName) {
        this.primaryFieldName = primaryFieldName;
        return this;
    }

    public String getUpdateTimeFieldName() {
        return updateTimeFieldName;
    }

    public TableFieldMeta setUpdateTimeFieldName(String updateTimeFieldName) {
        this.updateTimeFieldName = updateTimeFieldName;
        return this;
    }

    public String getUpdateUserFieldName() {
        return updateUserFieldName;
    }

    public TableFieldMeta setUpdateUserFieldName(String updateUserFieldName) {
        this.updateUserFieldName = updateUserFieldName;
        return this;
    }

    public String getLogicDelFieldName() {
        return logicDelFieldName;
    }

    public TableFieldMeta setLogicDelFieldName(String logicDelFieldName) {
        this.logicDelFieldName = logicDelFieldName;
        return this;
    }
}
